<?php
namespace app\index\controller;
use think\Controller;
use think\Session;
use think\Db;

class Index extends Controller
{
    public function index()
    {
            $this->view->assign('Assets', Assets);
            $website=website();
            $zero_tj=Db::name('product')->where('class',40)->order('updatetime', 'desc')->select();
            $zero_banner=Db::name('product')->where('class',42)->select();
            $zero_column=Db::name('column')->select();
            $this->view->assign('zero_column', $zero_column);
            $this->view->assign('zero_banner', $zero_banner);
            $this->view->assign('zero_tj', $zero_tj);
            $this->view->assign('website', $website);
            return $this->view->fetch();
    }

    
    public function send(){
        $telphone=input('telphone');
        $info=sendsns($telphone);
        return $info."_验证码：".$_SESSION['think']['msg'];
    }


 







}
